package easyExcelTest.entity;
import java.util.ArrayList;

/**
 * @author changfu.he
 * @date 2021/9/6
 */
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class DemoData {
    @ExcelProperty("字符串标题")
    private String string;

    @ExcelProperty("日期标题")
    private Date date;

    @ExcelProperty("数字标题")
    private Double doubleData;

    /** 忽略这个字段 */
    @ExcelIgnore
    private String ignore;

    public List<DemoData> initSizeList(int size){
        List<DemoData> demoDatalist=new ArrayList<>(size);



        return demoDatalist;


    }


}
